/**
 * Asserts the specified listener is registered directly under specified path.
 * @param String path
 * @param Function obs
 * @param Core.Storage.Observable storage - or null.
 */
Assert.Storage.registered = function(path, obs, storage) {
	var	storage = storage || Core.Storage.Raw,
		np = storage.nps[path];
	
	Assert.yes(np && np.queue.contains(obs), 
			"Assert.Storage.registered: Observer isn't listening under path: '" + path + "'");
};

/**
 * Asserts the specified listener is NOT registered directly under specified path.
 * @param String path
 * @param Function obs
 * @param Core.Storage.Observable storage - or null.
 */
Assert.Storage.unregistered = function(path, obs, storage) {
	var	storage = storage || Core.Storage.Raw,
		np = storage.nps[path];
	
	Assert.yes(!np || !np.queue.contains(obs), 
			"Assert.Storage.unregistered: Observer is still listening under path: '" + path + "'");
};